/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rna;

/**
 *
 * @author igo
 */
public class Sigmoid {

//    public Sigmoid(double valor){
//        double teste = valor;
//    }

    public double calcularSaida(double valor){
        double resultado = 0.0;

        resultado = 1/(1 + Math.pow(Math.E,(-1)*(0.5 * valor)));

        return resultado;
    }


}